<!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" Content="text/html; charset=utf-8"/>

	<link rel="stylesheet" type="text/css" href="../css/header.css">
	<link rel="stylesheet" type="text/css" href="../css/footer.css">
	<link rel="stylesheet" type="text/css" href="../css/results.css">
	<link rel="stylesheet" href="../res/bootstrap/css/bootstrap.min.css">
	<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.js"></script>
	<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.10.4/jquery-ui.js"></script>
		<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.21/angular.min.js"></script>
	<script src="../myUtil.js"></script>

	<script type='text/javascript' src="../js/results.js"></script>
<script> 
    $(function(){
      $(".header").load("header.html");$(".footer").load("footer.html"); 
    });
</script> 

</head>
<body ng-app="myModule">
<div class="container" ng-controller="MyController">
<!-- header-->
<div class="header span12">
</div>
<!--//header-->

<!--출품작-->
<h1>출품작</h1> 대회의 수상작 및 출품작 확인
<br/><br/>
<select id="contest_name" name="contest_name" ng-model="contest_id" ng-options="option.contest_id as option.name for option in contest" ng-change="change()">
</select>
<select id="contest_count" name="contest_count" ng-model="count" ng-options="option.count+'회'  for option in countList" ng-change="teamSearch()">
</select>&nbsp;

<table class="table table-condensed">
	<thead>
		<tr><td>번호</td><td>대회명</td><td>수상여부</td><td>팀명</td><td>주제</td><td>구현 기술</td></tr>
	</thead>
	<tbody>
		<tr ng-repeat="team in teamList" onclick="location.href='results_report.html'">
			<td>{{team.rownum}}</td>
			<td>{{"제 "+team.count+"회"+team.contestName}}</td>
			<td>{{team.prize}}</td>
			<td>{{team.team_name}}</td>
			<td>{{team.track_name}}</td>
			<td>JSP, Spring, java, ajax, jQuery, angular JS</td>
		</tr>
	</tbody>
</table>
<div class="alert alert-error" ng-if="error">
	일정이 모두 종료된 회차가 없습니다.
</div>


 <!--  <div class="pagination pagination-small">
    <ul>
        <li ng-if="pagePrev"><a ng-click="gotoPage(pagePrev)">&lt;</a></li>
        <li ng-repeat="p in pages">
            <span ng-if="p != currentPage" style="color: blue;" ng-click="gotoPage(p)">{{ p }}</span>
            <span ng-if="p == currentPage" style="font-weight: bold; color: black;">{{ p }}</span>
        </li>
        <li ng-if="pageNext"><a ng-click="gotoPage(pageNext)">&gt;</a></li>
    </ul>
  </div> -->

<!-- 구현기술로 검색-->
<span id='tech' onclick="javascript:tech_search();">구현기술로 검색 <i class="icon-chevron-down"></i></span><br/>
<div class="technology-search" style="display:none">
<form class="form-technology-search" id="search-bottom" method="POST">
	<span class='tech-select span2'>대회명</span><select id="contest_name" name="contest_name" onchange="">
		<option>전체대회</option>
		<option>소프트웨어경진대회</option>
	</select><br/>

	<span class='tech-select span2'>회차</span><select id="contest_count" name="contest_count" onchange="">
		<option>전체회차</option>
		<option>1</option>
	</select>
	<br/><br/><span class='tech-select span2'>구현 기술 선택<i class="icon-zoom-in"></i></span>
	<br/><br/><span class="tech-select span2">언어 : </span>
		<input type="checkbox" name="chk_info" value="C" readonly>C
		<input type="checkbox" name="chk_info" value="C++" readonly>C++
		<input type="checkbox" name="chk_info" value="JAVA" checked  readonly>JAVA
		<input type="checkbox" name="chk_info" value="Android" checked  readonly>Android
		<input type="checkbox" name="chk_info" value="HTML" checked  readonly>HTML
		<input type="checkbox" name="chk_info" value="JavaScript" checked  readonly>JavaScript
	<br/><br/><span class="tech-select span2">서버 : </span>
		<input type="checkbox" name="chk_info2" value="톰켓" checked readonly>톰켓
		<input type="checkbox" name="chk_info2" value="아파치" readonly>아파치
	<br/><br/><span class="tech-select span2">프레임워크 : </span>
		<input type="checkbox" name="chk_info3" value="Spring" checked readonly>Spring
		<input type="checkbox" name="chk_info3" value="MyBatis" checked  readonly>MyBatis
	<br/><input class="btn btn-primary" type="submit" value="검색">
</form>
	</div>
	<!--//구현기술로 검색-->

<!--//출품작-->

<!--footer-->
	
	<div class="footer span12"></div>
<!--//footer-->
</div>
</body>
</html>